package com.house.business.vo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.*;
import com.house.framework.entity.BaseEntity;
import java.util.*;
import java.io.Serializable;
import java.util.*;
import java.time.LocalDate;
import java.util.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 留言表
* </p>
*
* @since 2023-05-09
*/
@Getter
@Setter
@TableName("t_message")
@ApiModel(value = "MessageVo对象", description = "留言表")
public class MessageVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("留言管理表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("状态（0：待回复；2：已回复）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("留言内容")
    @TableField("message_content")
    private String messageContent;

    @ApiModelProperty("留言时间")
    @TableField("message_time")
    private Date messageTime;

    @ApiModelProperty("留言人id")
    @TableField("message_user_id")
    private Long messageUserId;

    @ApiModelProperty("回复内容")
    @TableField("reply_content")
    private String replyContent;

    @ApiModelProperty("回复时间")
    @TableField("reply_time")
    private Date replyTime;

    @ApiModelProperty("回复人id")
    @TableField("reply_user_id")
    private Long replyUserId;

    @ApiModelProperty("留言人姓名")
    private String messageUserName;

    @ApiModelProperty("留言人姓名")
    private String replyUserName;

}
